<?php
Route::group(['namespace' => 'Home','middleware' => ['web']], function () {
	Route::any('image/single/upload/{type}','ImageController@singleUpload');//单张图片上传 - 最新
	Route::any('image/multi/upload/{type}','ImageController@multiUpload');  //多图片上传 - 最新
	Route::any('image/delete/file','ImageController@deleteFile');  //删除图片   -   最新
	
	Route::any('image/upload','ImageController@upload');
	Route::any('oss/video/upload','OSSController@videoUpload');                   //阿里云OSS音视频上传
	Route::any('ckeditor/image/upload','ImageController@ckeditorUpload');         //ckeditor编辑器图片上传
	
	Route::any('douyin/auth','HomeController@dyAuth');                                    //抖音授权  --接口
	Route::any('douyin/config','HomeController@dyConfig');                                //抖音Webhooks
	Route::any('qiniu/notify', 'HomeController@qiniuNotify');                             //七牛多媒体文件上传回执
	
	Route::any('douyin/warrant','DouyinController@index'); //抖音会员授权  --接口
	Route::any('douyin/banck','DouyinController@banck'); //抖音会员授权-回调  --接口
	
	
	Route::any('douyin/warrant/info','DouyinController@warrantInfo');//抖音达人授权  --接口
	Route::any('douyin/banck/info','DouyinController@banckInfo');//抖音达人授权-回调  --接口
	
	
	Route::any('douyin/userinfo/save','DouyinController@saveUserInfo'); // 更新授权用户信息 --接口
//    Route::any('douyin/expinfo/save','DouyinController@getCospa'); // 更新同城转发视频信息 ----9.26

    Route::any('douyin/video/search','DouyinController@searchVideo');//抖音关键词视频数据拉取   --接口
    Route::any('douyin/video/data','DouyinController@nowVideo'); // 抖音更新已发布的视频数据    --接口
    Route::any('xunpan/info/index','XunpanController@index');//询盘定时任务                 --接口
    Route::any('xunpan/info/dis','XunpanDisController@index');	//询盘定时分配数据 --接口
    
        
    Route::any('douyin/video/time','DouyinController@videoCache');//定时任务执行
    
    Route::any('douyin/job/xun','QueueTimeController@searchkey');//定时任务执行
    
    //---------------------------抖音热门素材总方法----------------------------------------------------
    Route::any('douyin/popularmaterial/get','DouyinListController@getPopularMaterial'); //创作话题榜 排行榜页面数据拉取  --接口
    //8.20获取用户抖音的数据管理测试
    Route::any('douyin/getQyhVideoxx/get','DouyinListController@getEnterpriseinfo'); //获取企业抖音号视频              --接口


	Route::post('void/list/saveVideo','TestController@saveVideo');    //视频审核提交curl异步操作0

	
	Route::any('douyin/video/comment','DyVideoCommentController@getComment');//视频评论获取   --接口
	Route::any('douyin/video/comment/userinfo','DyVideoCommentController@videoGetComment'); // 定时抓取用户的作品评论  --接口
//    //10.12直播数据获取
//    Route::any('douyin/zhibo/info','DyZhiBoCommentController@index');//直播评论页面
//    Route::any('douyin/zhibo/comment','DyZhiBoCommentController@getComment');//获取直播评论
//    Route::any('douyin/zhibo/comment/userinfo','DyZhiBoCommentController@videoGetComment'); // 定时抓取直播数据


	Route::any('douyin/user/fans','DyUserMgingController@getFansList');	//获取粉丝、关注用户信息                   --接口
	Route::any('douyin/user/enterprise','DyUserMgingController@getEnterprise');	//获取意向用户信息                --接口
});

Route::group(['namespace' => 'Home','middleware' => ['admin']], function () {
	Route::get('admin','HomeController@index');
});